#!/usr/bin/env python

import sys
import serial

ser = serial.Serial()
ser.port = "/dev/ttyACM0"
ser.baudrate = 9600
ser.timeout = 0
ser.open()

running = 1

while running:
	serData = ser.read(100)
	if len(serData) > 0:
		nes = serData
		print nes
